#include <iostream>
#include <iomanip>

using namespace std;

int main()
{
	double sumSquares = 0;
	double squareSums = 0;

	/*for (int num = 1; num <= 100; num++)
	{
		sumSquares += (num * num);
		squareSums += num;
	}*/

	double limit = 100;

	squareSums = limit * (limit + 1) / 2;

	squareSums = squareSums * squareSums;

	sumSquares = (2 * limit + 1) * (limit + 1) * limit / 6;

	cout << setiosflags(ios::fixed) << setprecision(0)<< "The difference is: " << squareSums - sumSquares << endl;
}